<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <ul>
            <li v-for="(item,index) in names">
                {{ item+" "+index }}
            </li>
            <br>
            <li v-for="obj in role">
                {{ obj.name+", "+obj.position}}
            </li>
        </ul>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script>
        var app = new Vue({
            el: "#app",
            data: {
                names: ["Tsubasa", "Misaki"],
                role: [
                    {
                        name: "Misaki",
                        position: "midfielder"
                    },
                    {
                        name: "Tsubasa",
                        position: "striker"
                    }
                ]
            }
        })
    </script>
</body>
</html>